package com.ktg.ktgcommon.domain.wms;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class WmTransferLine {

  private Long lineId;
  private Long transferId;
  private Long materialStockId;
  private Long itemId;
  private String itemCode;
  private String itemName;
  private String specification;
  private String unitOfMeasure;
  private Double quantityTransfer;
  private Long workorderId;
  private String workorderCode;
  private String batchCode;
  private Long fromWarehouseId;
  private String fromWarehouseCode;
  private String fromWarehouseName;
  private Long fromLocationId;
  private String fromLocationCode;
  private String fromLocationName;
  private Long fromAreaId;
  private String fromAreaCode;
  private String fromAreaName;
  private Long toWarehouseId;
  private String toWarehouseCode;
  private String toWarehouseName;
  private Long toLocationId;
  private String toLocationCode;
  private String toLocationName;
  private Long toAreaId;
  private String toAreaCode;
  private String toAreaName;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date expireDate;

  private Long vendorId;
  private String vendorCode;
  private String vendorName;
  private String vendorNick;
  private String remark;
  private String attr1;
  private String attr2;
  private Long attr3;
  private Long attr4;
  private String createBy;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;

  private String updateBy;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}